package badugi;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;

public class HandTest {

	private Hand hand = null;
	@Before
	public void setUp() throws Exception {
		hand = new Hand(new Card(1,1), new Card(1,2), new Card(1,3), new Card(1,4));
	}

	@After
	public void tearDown() throws Exception {
		hand = null;
	}

	@Test
	public void testChangeCard() throws Exception {
		System.out.println("Test ChangeCard:");
		Card myCard = new Card(2,10);
		Card oldCard = hand.giveMeTheCardToThrowOut(0);
		hand.addNewCardFromTheChange(0, myCard);
		
	}

	@Test
	public void mixFirstAndLastCard() {
		System.out.println("Test of mixing:");
		System.out.println(hand);
		hand.mixFirstAndLastCard();
		System.out.println(hand);
		hand.mixFirstAndLastCard();
		System.out.println(hand);
	}
	
	@Test
	public void test () {
		System.out.println("Test to String:");
		System.out.println(hand);
	}

}
